package com.jaychen.tliaswebmanagement.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * 班级列表查询类
 */
@Data
public class ClassQueryParam {
    private String name;
    @DateTimeFormat(pattern = "yyyy/MM/dd")
    private LocalDate begin;
    @DateTimeFormat(pattern = "yyyy/MM/dd")
    private LocalDate end;
    private Integer page = 1;
    private Integer pageSize = 10;
}
